package org.terot.util;

import java.util.Date;
import java.util.Calendar;

/**
 * Created by IntelliJ IDEA.
 * User: steinlink
 * Date: Sep 22, 2008
 * Time: 1:24:44 PM
 * To change this template use File | Settings | File Templates.
 */
public class Logg {

    public static void error(String s) {
        System.out.println(Calendar.getInstance().getTime().toLocaleString() + " ERROR: " + s);
    }

    public static void info(String s) {
        System.out.println(Calendar.getInstance().getTime().toLocaleString() + " INFO: " + s);
    }
    
    public static void info(String[] s) {
    	for (String t : s) {
    		info(t);
    	}
    }
}
